package com.ruicar.afs.cloud.basic.common.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruicar.afs.cloud.basic.common.condition.QueryCustInfoMultipleCondition;
import com.ruicar.afs.cloud.basic.common.entity.BasicCustBaseInfo;
import com.ruicar.afs.cloud.basic.common.mapper.BasicCustBaseInfoMapper;
import com.ruicar.afs.cloud.basic.common.service.BasicCustBaseInfoService;
import com.ruicar.afs.cloud.basic.detail.vo.CustInfoVO;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author: Lee
 * @date 2020-05-30 04:35:07 
 * @description 
 */
@Service
public class BasicCustBaseInfoServiceImpl extends ServiceImpl<BasicCustBaseInfoMapper, BasicCustBaseInfo> implements BasicCustBaseInfoService {

    @Override
    public List<String> selectContractNoByCustName(String custName) {
        return baseMapper.selectContractNoByCustName(custName);
    }

    @Override
    public List<CustInfoVO> queryCustInfo(String contractNo) {
        return baseMapper.queryCustInfo(contractNo);
    }

    @Override
    public List findByCustInfo(QueryCustInfoMultipleCondition condition) {
        return baseMapper.findByCustInfo(condition);
    }
    @Override
    public List findCustNoByQueryNo(String queryNo) {
        return baseMapper.findCustNoByQueryNo(queryNo);
    }

    @Override
    public List<String> fingCustByNoAndCust(String contractNo,String custRole) {
        return baseMapper.fingCustByNoAndCust(contractNo,custRole);

    }
}
